<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:comp="http://java.sun.com/jsf/composite">
	<ice:form prependId="false">
		<ice:tree id="tree" value="#{treeController.model}" var="node"
			hideRootNode="false" hideNavigation="false"
			imageDir="/xmlhttp/css/#{styleBean.currentStyle}/css-images/">
			<ice:treeNode>
				<f:facet name="icon">
					<ice:panelGroup style="display: inline">
						<ice:graphicImage
							value="/xmlhttp/css/#{styleBean.currentStyle}/css-images/#{node.userObject.icon}" />
					</ice:panelGroup>
				</f:facet>
				<f:facet name="content">
					<ice:panelGroup
						styleClass="selectedNode#{node.userObject eq treeController.selectedUserObject}"
						style="display: inline">
						<ice:commandLink
							actionListener="#{treeController.employeeNodeSelected}">
							<f:param name="#{treeController.paramId}" value="#{node.userObject.id}" />
							<ice:outputText id="TreeNode" value="#{node.userObject.text}" />
						</ice:commandLink>
					</ice:panelGroup>
				</f:facet>
			</ice:treeNode>
		</ice:tree>
	</ice:form>
</ui:composition>
